<template>
  <div>
    <el-carousel height="150px">
      <el-carousel-item v-for="item in 4" :key="item">
        <h3 class="small">{{ item }}</h3>
      </el-carousel-item>
    </el-carousel>
    <div>

      <div class="">

        <div slot="header" class="clearfix">
          <span>新闻列表</span>
          <el-button style="float: right; padding: 3px 0" type="text">更多</el-button>
        </div>
        <div v-for="o in 4" :key="o" class="text item">
          {{ '2024年某某某新闻信息列表内容 ' + o }}
        </div>
      </div>

      <div>
         <div>
            <div>图片</div>
           <div>
            <h3 >产品标题</h3>
             <div class="">
               <span>¥111.00</span>
               <span>销量</span>
               
             </div>
           </div>
         </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "login",
  /**
   * 调用组建
   * @type {Object}
   */
  components: {},
  /**
   * 组建属性
   * @type {Object}
   */
  props: {},
  /**
   * 数据字段
   * @return {[type]} [description]
   */
  data() {
    return {};
  },
  /**
   * 计算属性
   * @type {Object}
   */
  computed: {},
  /**
   * 数据监听
   * @type {Object}
   */
  watch: {},
  /**
   * 页面创建时
   * @return {[type]} [description]
   */
  created() {

  },
  /**
   * 页面加载时
   * @return {[type]} [description]
   */
  mounted() {

  },
  /**
   * 页面调用函数
   * @type {Object}
   */
  methods: {}
};
</script>
<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>